package com.project.dao;

import com.project.entity.Notice;

import java.util.List;

/**
 * @Author: TateBrown
 * @date: 2018/5/26 12:50
 * @param:
 * @return:
 */
public interface NoticeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);

    //根据条件分页查找 by:WheelChen
    List<Notice> selectByCondition(Notice notice);

    //查找所有 by:WheelChen
    List<Notice> selectAll();
}
